#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
struct res
{
	char name[10];
	int age;
	int num;
	char hobby[10];
};
typedef struct res s;
s x = { "TA",15,123456789,"singing" };
s* p = &x;
int main()
{
	s x = { "TA",15,123456789,"singing" };
	printf("%s %d %d %s\n", x.name, x.age, x.num, x.hobby);
	printf("%s %d %d %s\n", (*p).name, (*p).age, (*p).num, (*p).hobby);
	printf("%s %d %d %s\n", p->name, p->age, p->num, p->hobby);
	int c = 10;
	int* m = &c;
	printf("%p", c);
	return 0;
}